Skip to content

Rug Radar Trap PoC#31

Open
Tollynft wants to merge 6 commits intodrosera-network:mainfrom
Tollynft:feat/rug-radar-trap
Open

Rug Radar Trap PoC#31
Tollynft wants to merge 6 commits intodrosera-network:mainfrom
Tollynft:feat/rug-radar-trap

Conversation

@Tollynft
Copy link

@Tollynft Tollynft commented Sep 16, 2025

This pull request introduces the UniqueRug Radar Trap PoC

UniqueRugRadar is a test-only trap that monitors ERC-20 testnet tokens for sudden drops in total supply, simulating potential rug-pull behavior. It demonstrates how Drosera can track changes in token balances and respond automatically when something unusual happens

Previous Rug Radar trap commits are obsolete

Discord username: Tolly_nft

Signed-off-by: tolly <mgoodness081@gmail.com>
Signed-off-by: tolly <mgoodness081@gmail.com>
Signed-off-by: tolly <mgoodness081@gmail.com>
Signed-off-by: tolly <mgoodness081@gmail.com>
Signed-off-by: tolly <mgoodness081@gmail.com>
@Tollynft
Copy link
Author

UniqueRugRadar Test Trap (Solidity)

Last three commits add a test-only trap:

  • contracts/UniqueRugRadar.sol (collect() & shouldRespond())
  • trap.yml and drosera.toml

Example logs (test values):
collect() #1 → totalSupply: 1,000,000
collect() #2 → totalSupply: 850,000
shouldRespond([#1,#2]) → true (drop 15%)

Previous Python trap commits are obsolete

Signed-off-by: tolly <mgoodness081@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant